/*
reference: https://blog.csdn.net/z784561257/article/details/78174106
string api: https://blog.csdn.net/calculate23/article/details/86771919
*/

#include <iostream>
#include <string>
#include "./headers/CBC.h"
#include "./headers/Utils.h"

using namespace std;

int main()
{
    char * buffer;
    string key;cout<<"asdasdasdasd";
    Utils().getKey("key.txt", key);
    CBC().encryptFile("testfile.txt", "encrypted.txt", key);
    CBC().decryptFile("encrypted.txt", "decrypted.txt", key);
    system("pause");
    return 0;
}

